Scroll to navigation

GLUTINITWINDOWSIZE(3) Library Functions Manual (local) GLUTINITWINDOWSIZE(3)

NAME

glutInitWindowSizeRequests future windows to open at a given width/height..

LIBRARY

OpenGLUT - window

SYNOPSIS

#include <openglut.h>

void
glutInitWindowSize(int width, int height);

PARAMETERS


width

Width of future windows.


height

Height of future windows.

DESCRIPTION

This function allows you to request initial dimensions for future windows.

There is a callback function to inform you of the new window shape (whether initially opened, changed by your glutReshapeWindow() request, or changed directly by the user).

SEE ALSO

glutReshapeWindow(3) glutInit(3) glutInitWindowPosition(3) glutInitDisplayMode(3) glutInitDisplayString(3) glutReshapeFunc(3) glutGet(3)